Skip to main content
Version: 4.0

Get Tenant Quota

Path
http://{supOS ip:port}/open-api/supos/license/v1/quotas/tenants/{tenantId}
Response
  • 200: Successful.
{
"productQuota": {
"TENANT_DEADLINE": "permanent"
},
"featureQuota": {
"MAX_TAG_NUM": {
"total": 20000,
"used": 0
},
"MAX_COLLECTOR_NUM": {
"total": 50,
"used": 0
},
"MAX_PC_LOGIN": {
"total": 50,
"used": 0
}
}
}
  • 400/500
{
"code": 10001004,
"message": "tenantId is empty"
}
    • 10001001: Server exception.
    • 10001005: Tenant does not exist.

Get All Quota

Path
http://{supOS ip:port}/open-api/supos/license/v1/quotas/system
Response
  • 200: Successful.
{
"productQuota": {
"PLATFORM_DEADLINE": "permanent"
},
"featureQuota": {
"MAX_TAG_NUM": {
"total": 20000,
"used": 0
},
"MAX_TENANT_NUM": {
"total": 500,
"used": 0
},
"MAX_COLLECTOR_NUM": {
"total": 500,
"used": 0
},
"MAX_PC_LOGIN": {
"total": 500,
"used": 0
}
}
}
  • 400/500
{
"code": 10001004,
"message": "tenantId is empty"
}
    • 10001001: Server exception.
    • 10001005: Tenant does not exist.